.send-new-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #f5f5f5;
}

/* 自定义导航栏 */
.custom-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #007AFF;
  z-index: 999;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20rpx;
  color: #fff;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-back {
  font-size: 32rpx;
  color: #fff;
}

.nav-title {
  font-size: 36rpx;
  font-weight: bold;
  color: #fff;
}

.nav-right {
  width: 120rpx;
}

/* 页面内容 */
.page-content {
  flex: 1;
  padding: 60rpx 30rpx;
  padding-bottom: 120rpx;
  margin-top: 50rpx;
  /* 为发送按钮留出空间 */
}

/* 输入区域 */
.input-section {
  margin-bottom: 20rpx;
}

.input-label {
  display: block;
  font-size: 28rpx;
  color: #333;
  margin-bottom: 16rpx;
  font-weight: 600;
}

.title-input {
  width: 100%;
  height: 80rpx;
  background-color: #fff;
  border-radius: 12rpx;
  padding: 0 24rpx;
  font-size: 30rpx;
  border: 2rpx solid #eee;
  box-sizing: border-box;
}

.title-input:focus {
  border-color: #007AFF;
}

/* 工具栏 */
.toolbar {
  background-color: #fff;
  border-radius: 12rpx;
  padding: 12rpx;
  margin-bottom: 20rpx;
}

.tool-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 8rpx;
}

.tool-btn {
  margin-right: 12rpx;
  margin-bottom: 8rpx;
  padding: 6rpx 16rpx;
  background-color: #f5f7fb;
  color: #333;
  border-radius: 8rpx;
  border: 2rpx solid #e6ecf5;
  font-size: 26rpx;
}

/* 编辑器 */
.editor-section {
  background-color: #fff;
  border-radius: 12rpx;
  border: 2rpx solid #eee;
}

.rich-editor {
  min-height: 800rpx;
  padding: 24rpx;
}

/* 预览区域 */
.preview-section {
  margin-top: 40rpx;
  padding: 24rpx;
  background-color: #fff;
  border-radius: 12rpx;
  border: 2rpx solid #eee;
}

/* 发送区域 */
.send-section {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 30rpx;
  border-top: 2rpx solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.send-btn {
  flex: 1;
  height: 80rpx;
  background-color: #007AFF;
  color: #fff;
  font-size: 32rpx;
  font-weight: bold;
  border-radius: 40rpx;
  border: none;
  margin-right: 20rpx;
  transition: all 0.3s ease;
}

.send-btn:disabled {
  background-color: #ccc;
  color: #999;
  opacity: 0.6;
}

.send-btn:active {
  background-color: #0056CC;
  transform: scale(0.98);
}

.char-count {
  font-size: 24rpx;
  color: #999;
  white-space: nowrap;
}